package com.atguigu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 商品三级分类
 * 
 * @author yang
 * @email yang@gmail.com
 * @date 2021-07-11 15:06:28
 */
@Data
public class BaseCategoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;

	private String name;

	private Long categoryParentId;


	private List<BaseCategoryEntity> children;

}
